Added onload, included call to OnLoad in testbed