Add test for analyser.