fixed test. ignore createdAt during json comparison