Adding backend unit testing