changed test functions to use useragents