Add new test for relative layout, improve debug