Max test for empty list works - exception thrown