Make test assertion independent of test runner location