Change level creation spec to pending

So that the build finally passes
Refactor the getTask method to make it cleaner