Refactor tests
Exception constants
Add README