adds tests for A1.
adds tests for A1.
adds tests for A1.
adds tests for A1.
adds A2 tests
adds A3 tests
adds A3 tests
adds A3, A4 tests
Add exception throwing for bad R and D values"