Added failing spec for function using boolean