[test] - general build test now stops application properly