class details unit tests.