Build test env