Install test version of Asterisk with overwriting existing version

I have been trying to build beta 5 of 1.8 over the weekend. Not going well but that is not the point of my post.

I needed to revert this machine back so I rebuilt the 1.6 version I was running.

Does anyone have a tip or trick as to how to leave the existing version in /usr/sbin of the binary and the module sin usr/lib/asterisk/modules and install the test version in a test directory structure?