Fixed test to use Reflection

Since I've hit this issue and it stopped my cold I thought I'd lend a hand. :smile: