Fix future import in snippet tests
Style changes