some basic unit testing. will practice more.