Added basic tests for choose.theta. is.theta is now exported.