The tests as they are are very simple (and could be examples). Should probably add some table driven tests.