writing up tests for everything