e2e tests added but incomplete. Not sure on some of the angular directives. Will fix in the morning. Outline for remaining tests written.