moved helper functions to a different inc file

moved helper functions to testmap.helperfunctions.inc file