fix patch, run tests