fixes class var definitions in tests; disables v5.2 test in travis-ci