Added function to get popular movies from TMDB and tests