fixed os.name tests