added performance tests for sealed classes