Added tests for changing prompt text.
Implemented function for changing prompt text.