framework for testcases as JS classes