ftests refactoring. REST API tests moved to separate package