adding test, fixes #104