steal test from Class::InsideOut test suite