General Tests and snippets of code