Fixed tests for submit example