Added BASEDIR test.
Updated test suite.