test multiple variable inference, gibbs works, minor bugfix in gibbs