Test that DropoutLayer obeys dropout_ratio