issue #218 - prepared unit test