add test() function to home activity