write basic tests

