Allow empty message (no content) when committing

Update `CreateTestRepository()` method to allow empty content as commit message.