writing some kind of tests