Add test cases for AddRemoveObjectsCommand.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>