[test] fix a few things