added tests for header and source class generator