#198: add tests