renamed unit_tests file
improved exception checking
added some references about testing
added newline to coloured message
added a new exception
added a module for functional tests