added raw http api tests - initial version, commented out some code that was faulty and under construction