STT-MRAM characterization and its test implications