removed serialize from testing