Incorporated karma for unit tests