variable assignment + tests