fix issue that 'rake' fails on certain machine.

Move two gems out from gem group 'test'.

Signed-off-by: Henry Chen <hchen@vmware.com>