add guard with jasmine tests