added tests for stat, method and smell classes