subsystem junit testing