improving rake test task in non-CI environment