Created outline for app tests. Moved directive from global to new directives.js.
Added directives.js to karma config