fixed typos. changed test struct.