validate as specified in tests