Added JUNit 4 tests for back-end classes

* Minor changes to back-end classes