added tests for required fields
cleaned up web view