Refactor unit tests
CS
Refactor base test case
Visitor PublicAttributes unit tests