moving test scripts.
fixed compiler warnings