Fix tests

It looks like this is supposed to be 28 instead of 22.

Signed-off-by: Eli Skeggs <eskeggs@globesherpa.com>
Add undefined handling

Had to add require('should') to use static method :(

Signed-off-by: Eli Skeggs <eskeggs@globesherpa.com>

Conflicts:
	test/index.js