Fix spec, and add instanceOf to ng class