Fix indent
Fix typo
Improve tests, make them self documenting