tests different functions for adding points