Extra test for validating method calls.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>