finish writing basic tests