Remove duplcated and misplaced test