More tests and stylecop cleanup
Added a set of helper extension methods
fixes #29