Fixed Karma Tests