test non-existing key and strip cr/lf after get value