Added more tests for back-end model