Added new test, that checks the "bug" in corner