Added Function.prototype.bind detection in ArrayCapsule
Added error handling in unit tests