The Selangor government will begin a pilot exercise on local government elections by the end of this month.