started adding jUnit tests (more out of fun, but why the hell not?)