Wrote many more tests for different methods. Still need to write more
tests though.
Added more tests and casework for offset.