adding tests for analyzer