Try to guess BASE_DIR if not specified.
Also run unit tests.
More verbose error descriptions.