[testing] add tests