using new setter in test due to const correctnes efforts
deal with -Werror=switch