some more tests and functions