[test] minor bugfix in tests