Added api tests for fulltext search