Add simple tests for Sint, fix bugs that were found
Merge branch 'feature-add-sint-tests'