Added a test for the default value of RUBIES.

* Moved test/rubies to test/opt/rubies.
* Set PREFIX.