test cases corrected for nojs