Added tests for the webservice. Added module for persistence in advance.