Fix for #198 including unittest

Did the following:

* added unittest for #198
* fixed #198
* added myself to authors list