Fixed bugs in form and added new tests for form.
Deletes old set up files for phpUnit

Signed-off-by: Alexander Book <redchrome@gmx.de>