added tests for faq api.