Add the assertion for instance of.