Switched pimple dependency to v2.1. Modified tests accordingly