[PATCH v3] lib: Convert test_user_copy to KUnit test