Add some basic karma testing facilities