New test for layers refactoring (allow for negative layers on all platforms)