Major overhaul to friends_test, should work correctly now.
cleaning up and finishing the script