Write basic tests