Added tests to GPAcalculator.js.
Tests only run when function is uncommented in index.html.
Tests will error if not uncommented before website usage.