Added .gitignore
Refactored tests.
Added SetLevelString().