added unit tests: all passed