different approach to recasing test strings
Fixing possible NRE