add tests to check same boundaries