nicholas-miklaucic fixed sign error and added more tests
Latest commit 42e455e Nov 29, 2018