GH #211 - Added tests.