Clean up unused code in SerializerTest.js