Two former MPs are challenging laws capping how much money they can receive and spend on a federal election, saying they unfairly advantage major parties.