Add basic tests around functionality