fixed test cases
Merge branch 'feature/index-definition' of git://github.com/sulu-cmf/sulu into bugfix/resource-locator-validation
added testcase