add some test functions