fixed minor issuess and added directives test