added readable string to class and added some minor tests