class details unit testing with comments