add custom matcher for determing types of Objects