minor changes on R2RMLSpec class
added tests for R2RMLSpec class