test program with auto-increment