Fixed bug in test case craetor.
Merge branch 'master' of github.com:pepijnkokke/pelican