Added a serial read and write test