Add more tests for building/sorting RUBIES.