Adding test with setter methods