add test cases
remove unused
make constants module more robust
Merge branch 'dev' of https://github.com/ecomfe/bat-ria into dev