fixed some things according the tests, added todo file according to all errors found in tests