#27: added unit test