Where do test coins come from, is there any kind of mining?
Yes, they are essentially mined in the same way as Bitcoin on Mainnet... however there are mechanisms in place to make it (theoretically) "easier" to mine by resetting the difficulty from time to time... unfortunately, for whatever reason, some people like to use ASIC mining rigs on testnet which means they mine lots of blocks really quickly and then the difficulty increases dramatically again
