junit for SecurityValidator