wrote a number of tests