Why did you have to move him? Because he was sick or for some other reason? He may not be eating or very active because of stress from moving or poor water conditions or illness. As for getting ammonia/nitrate/nitrite readings most people here will suggest using
Freshwater Master Test Kit - API You can find it online or pretty much at any fish store. Was the 20 gallon cycled before you added fish? Did you add any seeded materials from the old tank? If not you need to read up on the fish in cycling and keep an eye on your water chemistry ammonia is poisonous and can cause damage to your fish. Also the fish looks okay to me I can see a few pale spots but I'm not a disease expert. Hopefully someone more knowledgeable than me can come along and take a look at it and say something.