More work on getting event posting to work and updating the unit test
framework.