Fixed tests to be used with Cargo plugin