added tests for pointcontroller