Changed module test to import statement rather than file check