Improved configuration unit tests