[Commits] c5930c1671e: Code cleanup and fix tests