fixed content-type and added new method to testapp