Write basic core tests