Added verification of inputs. Now for browser testing.