Add trivial test for behavior when undefined method is given

Change-Id: I931d67ef198ce294deabe53700b75079ace37364