public void testAddAndRemoveService() throws Exception {
        rm.addService("TestService", 50);
        Service tmp = null;
        Iterator<Service> it = rm.getServiceList().iterator();
        boolean check = false;
        while (it.hasNext()) {
            Service s2 = it.next();
            if (s2.getName().equals("TestService") && s2.getPrice() == 50) {
                check = true;
                tmp = s2;
            }
        }
        if (!check) {
            throw new Exception();
        }
        rm.removeService(tmp);

        it = rm.getServiceList().iterator();
        while (it.hasNext()) {
            Service s2 = it.next();
            if (s2.getName().equals("TestService") && s2.getPrice() == 50) {
                check = false;
            }
        }
        if (!check) {
            throw new Exception();
        }

    }