Move SMP tests to separate file.
Set encoding to utf-8 in all files.
Add tests for non-ascii SMP.