Correct mistake with Expecta usage of beNil

Should have been .beNil()

Signed-off-by: Ippoippo <ippoippo-software@ippoippo-eco.com>