Made 'name' required when registering a mixin, added new test to check onceInitiated functionality in replace method