* Noun: "I took a test on math." (The word "test" is the object of the verb "took").
* Verb: "The engineer will test the bridge's strength." ("Test" is the action being performed)
* Adjective: "The test results were good." ("Test" modifies the noun "results")
So, to know the exact part of speech, you need to see the sentence it's used in!