changed Assumption failure to throwing exception and made corresponding changes. completed 100% coverage
changed test cases to fit the throwing of EDNEException rather than Assert,fail()
Merge branch 'master' of https://github.com/TEAMMATES/repo into Issue2004
Merge branch 'master' into Issue2004
[2004] Clean up AccountsDb

fixes #2004