tests: Fix keychain and NextHop rounding error

Change-Id: Idd19c9a218363304dcf9fecb37a5cc2009b58cd0