build test application programmatically