Committing the ruby code... to an asylum. (Changed some of the test methods at the end.