fix broken & misplaced test