Write tests.