Added tests for inputs