Added tests, updated documentation, added syntax highlighting