consolidated offline and test_module