Fixed Implementation of APITest
Fixed Implementation of Auth header use