Fixed det test case