Moved apiurl to a constant and commented out some code so tests will pass.