notebook test comparing magic and non-magic