pal_1 tests passing