moved frontendtests to own directory

easier testing in WebStorm
changed the event for verificating required fields