added more unit tests: see ./tests/