I just noticed that this repo doesn't have any unit tests. Might be good to add some, given the critical nature of this project :-)