Proper implementation of mock backend