Use require.js amd module format in tests

For ease of understanding, test package should use require.js format.