Fix echo in combination with escaped quotes and execute echo tests