Check for extended interfaces using getInterfaces().length instead of getSuperclass()
Fix extending interface test to actually fail.