chore: pin trybuild version to 1.0.49
* Added a couple basic tests * Implemented suggested change * Fixed type inference * cargo fmt * Finished tests and removed warnings * Include in CHANGELOG.md * Moved test into separate file * &'static str and function rename * Mention in the book