Constant representation test
Constant class identification and representation bugfix
Merge branch 'tests'