Factoring out accessor logic to function
Better test message