Implemented all tests. Some of them may work.
Stuff.