Added custom matcher toBeInstanceOf