Access Codes for different membership levels?

I'd like to have an "Invite Code" on a per level basis. I mean I'd like the free/basic registration to be open, but require a code to register for the paid levels. Each paid level could have a different code.

This way I could allow a few people in to the paid level, while doing beta testing. Then once I'm satisfied everything is running smoothly, I can open it to everyone.