added test, requires a cspTestData.go file generated from github.com/arzh/cr-datagen