Karma react test environment setup