Use unittest
Add more tests. Fix #f parsing