remove redundant file write in test
pass types through to serializers