Fire department gives entrance exam