fixed bug in test module exported functions.