Wrote some tests. Some of them fail.