Fixes issue #91

Fixes issue tntim96/JSCover/91

Includes new test cases.  All test cases pass and coverage is maintained.