To compare sequences you can do `assert(p1.toList === List(4,5,6,7))`. The `List` class has a valid `==` method, even though `Array` doesn't.