Change: Test for interface instead of method.

Signed-off-by: Martin Fjordvald <martin@evilgeniusmedia.org>