Added test 'a val can never be reassigned but a var can'.
Added test 'define a function'.