rayleigh test

so, here is my first function. i think it does what it is supposed to be doing. i have a few questions though:
- how do i create a test for that function?
- for some reason, despite the import of pycircstat/descriptive it does not find resultant_vector_length... any ideas?