Added additional logging in unit tests