implemented a couple of tests