add the following test test_beta_as_scalar, test_beta_as_dict,

An update from #767 and #819 with Katz centrality.

I just added the following test:
* test_multiple_alpha
* test_beta_as_vector
* test_beta_as_dict
* test_beta_as_scalar

update the doc: 
* added the default value of optinals parameters