Attempted to add some testing. However it is awful currently.