fixes #93
added test