Use an enum for the forwarding status in tests

Also, fix an error for which the wrong forwarding status was checked (enabled
instead of disabled).