Update test to use serializable matcher.