Removed directives.js and updated form test cases