tests: add more tested functions