Added a test for changePassword form clearing

This test checks if the changePassword method clears the form after
receiving a successful message.