fixed typos
fixed tests