Added test for min function
Convert python booleans to javascript booleans.