fixed some unit tests to use android instrumentation class