jasmine.StringField setValue sets value to null if given value only consists of whitespaces and trim is true (from jasmine.specs)