Add test. Use primitive types instead of wrappers for signed flag. Add author tag. Original pull request: #447.