add test
fix test
fix tests
Merge pull request #945 from dennishendriksen/feature/studydefinitionservice

Fix tests