analyser implementation needed
removing test cases + implementation for now. Sorry