attempt to solve issue #18 + selenium tests for this scenario