Add program/erase page test to basic_test.py

Test erasePage and programPage in basic_test.py.