Tests: Stop using the expected argument in test() calls

First step to deprecating the expected argument. Will warn about bad usage
in 2.0.0 in fully remove in 2.1.0.

Ref #356