Karma tests added