fixed test() errors