added a test for legendre and sphericalharmo

Test can be found in sphericalharmo.py