fix min/max for empty tree, update package json
Update test case to include min/max for empty tree