Tests for commit