Add tests for all types in isDefaultValueConstant()
Remove superfluous $params