test(amd): added tests for AMD module registering and loading