tied  to tests, updated  directive to not use isolated scope (I might regret it later)