fixed a test to revert the default value of token if its already set to '0'