So how should this be done. Making the fields private will affect the tests.