Adding tests for current functionality
Rebased off of upstream:master and addressed nits
Merge pull request #1 from diogomonica/rack-tests

Adding tests for current functionality