[test] add tests