added cucumber tests, updated spec with xml class test