[TASK] Add functional tests for discarding created elements