Fixed testing scenario to create proper objects