tests with void return in assignment