Pure-function unit tests for the recommendation engine. Open this file in a browser; green rows = passing.