added test and function Table->findByFieldValues