Minor refactoring in tests
Update to new version of kotlin 0.5.377
Update selenium
Add NotNull annotation