Bugfix: missing end
Enhancement: add linter to test run

Fixed encoding bug.