write some tests