[PATCH v2] lib: Convert test_user_copy to KUnit test