Test dependent fields

Add Test of dependent fields