Test for MyClass