Class.new add test case