improve rake test task definition