fixed plSerialCheck() and removed some test files