Moved tree tests to api project