avoid using .map in tests for older browsers

IE sucks