create test for jsdom + angular working together