Fix failing rake definitions for executing integration and unit tests