AMD define mock to use to unit test AMD modules