#197: add tests