Added tests

This lays the groundwork for testing bullshit.