Better tests generation and generator tests.

Added post stub data to tests generator based on models. Added generator tests.