working tests for different scenarios