Updates test for device. Adds build script to allow keychain access while running integration tests on device