added test for head controller