added controller spec for empty value