Added test of decrypt encrypt