Started some unit tests for the analyser.