You would have written the grammar test better if you had learnt the tenses of the English verb.
Ты бы написал грамматический тест лучше, если бы выучил времена английского глагола.