Add test for corner option