Removes an invalid test