Metallic taste

I just all of a sudden got a metallic taste in my mouth, it only lasted for about 5 minutes and now its gone... have anyone else had that before and if so what caused it.

Update: I took a pregnancy test and this is what it looked like bfn