Writing our own tests