YARN-126. findbugs warning fixed. Unit tests added for yarn rmadmin.