Added tests for existence of modules

Module tests