Test is method is a setter is simplifed a bit and made with less return statements