expected and expression were reversed.
change rebar.config to fail_on_warning and so on.

Since add warn_unused_import, import in the test is also changed.