Add more constant function tests and update expected results.