ADDED: Random unit test