Check if promiser statement has => + unit test