Clearing bug in testing