Why do you add a setter for a public variable?
If it's just for testing then you don't need a setter at all