refactor test_plomino as before