Fix suite 15_3

Handle case when the prototype is not a function/object
Merge pull request #8 from fredericaltorres/master

Fix suite 15_3