adds test for template comparison
fixes runtime error in test (..)
adds test class for ConstraintValueParser
Merge branch 'emma' of https://github.com/intermine/intermine into emma