added initial unit tests

tested all gets and post functions