Make the frontend medium tests better