user: add unit tests for GetRunUser

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> (github: cyphar)