Add test that variables can have values of correct type assigned to them