Used assertInstanceof instead of assertTrue on instance assertion

Title says all