Fix tests by getting id by div instead of defining it