Anyway to add unit test for this class?