fixing typo in message_to_error_map
adding init file
adding tests