updated machineDAOtest, added filtering