Low-Cost Test and Characterization Platform for Memristors