added test to check generated application