Based on the bug reports so far, I've prepared a new beta release of 0.9.21 for testing. Apart from fixes for the reported issues, it contains a revamped command line interface with detailed help for each command and also the new "dub test" command.
http://code.dlang.org/download https://github.com/rejectedsoftware/dub/blob/master/CHANGELOG.md