adds pub/sub test
some lint