added a context to almond so that defined modules can be overridden for testing
amd modules can be overidden for testing