Added unit tests for the "util" module

For the moment the util.rupdate() function is tested, which is
the most tricky of the functions from the module.