test that a MessageResolver can be directly instantiated