Fixes class methods errors. Adds string tests