Fixing unit tests - now it can test directives with external template url without other frameworks, like Karma.