Unit tests for MyOwnCreator.js - further works

Test if resolving animations throws an error when direction is
incorrect, for example is not set or is a number.