Add from_str and clean up {push,pop}_back tests.