Simplify serialCheck() and test parsing of data the controller test.