Added tests, tried to make the __str__() work.