increase coverage (part 2 of 2)

Adding more tests to bring coverage to 98.21%. Fixes #458. Read for review/merge!
Good catch, added tests for `''` and `[]` and updated the code to disallow these cases.