Tests to improve corner detection