fix another wrong require

7c57bb5a fixed a few toBuffer requires, but the one in the test was still broken.