Adds karma testing
if