Add real API tests for info query
Merge branch 'tests'