Initial unit tests
Yeah, I know I should have written these /before/ I started writing the actual code