A man has been fined and given a suspended prison sentence after working on a number of boilers without being Gas Safe registered.