add newline for readability of pop-up error message
update unit tests