write basic tests