Rewrote the testing file to use rackunit and defined automated unit tests.