Electric plane takes test flight