fix unit tests broken due to shellshock patch

@wpoely86: please review
maybe add something more on why?