Remove use of nullptr in test.

linear_mixer_test includes dereference of nullptr. So modified to use an object.