slighly cleaned up hooks controller spec