DSSSM-701 #time 5m Implementing tests for more complex cases