Add test for extends/implements.