modified doxygen comments and removed some functions.
updated a test case.