Tests checks for getBase and getCDIr

Makes sure they aren't blank, and don't end with a trailing slash.