setup karma test env.

follow testify example