Doxygen comments and more tests