Use seneca 0.5.2. Changes to mocha tests. Fixes #1