fixed procedures tests