Item12888: unit test fixes; some debug put into the configure tests because they fail on the test server, but not locally
Item12888: test moved to core
Item12888: configure internals have been rearranged.
Item12888: unit test fixes