added untestet validation helper function
debugged libvalidate; created tests