test script to read all registers