Fixed bogus redeclaration of os inside agent/{identity,format}_test.go