optimizing build and adding functional test