Copied and pasted tests from tutorials