Starting to add some tests for functionality already in place.
Robustified the testing us RSpec.
Merge pull request #3 from Onikoroshi/Testing

Testing