scripts: add test_last_commit.sh