Unit test for site service and fix some errors in MopStore/RamSiteStore