added amd to cjs test