Add more tests for analyzer