removed cookie test code