Added unit-tests which tests the behavior of the restricted(machine) cookie.