Adds unit tests for the golden rule