Django tests corrected and JRPC services refactored.