Add get_user_test_data function for query User_test data from database