Fixed tests. Fixed cookies problems.