Fix tests to work with silex 1.0