extra tests, usage of centroid, bug fixes in user_models