Wrapped Unit tests inside versions

I did this to give me a way of testing specific parts of the library at
a time instead of needing to run through all of them. I also added a
couple of tests in the graphic section.