adding tests for AMD loading