separated tests, implement aggregate jsd