wrote tests

Didn't implement any more functions, just created tests.