Added some tests for Backend.