Adding some karma testing support
Adding some karma testing support