wrote some basic tests