Added tests for passing through borders