some more tests and mock library