2nd try: corrected the percent tests, added some empty value tests and some "strange varname" tests