fixed issue with the prototype function's not being seen by test file