Wrote many tests (some not currently included in this repository)