junits run easier than expected; add a null check in user