fix api integration and let spy work for minitest 5
update version to 0.4.1