Add "." to directory list when none specified.
Update unit tests.