test with slot and parentS