Automated psychological testing: some principles and practice