Layton challenges validity of Senate appointments