testing if program can add, subtract, save memory, get memory and clear memory.