Add IMR Tests. Make Tests more stable. Various fixes and test additions. Fixes for corbaloc and network address order.