remove cookie test code