added some actual unit tests in here as opposed to just printing some
stuff.