Create test_hash2str.pl

Test subroutine removing hash reference from string.