removing superfluous unit test and adding serious documentation to code and functional tests