Fix rake test task for threaded configurations

Close #203