Move lighthouse bug 475 regression to unit test

Helps with #408.