fixed minor bug in one test