Testing the usage of a generalization of the Witten-Veneziano relation in a bound-state approach to eta and eta ' mesons