fix #94 (+UnitTest)

Added UnitTest