moved test into test module