Added a few test cases.
Added postGeneralRequest; fixed a few other small details.
Added foreign keys switch; not sure if it is working.
Added a few more data cases.
Added postSpecificRequest