Start adding unit tests for configure

Start to add unit tests for configure.   Currently nosetests reports statement coverage of about 37%.