Nova config unittest code additions, with negative tests