Some basic unit tests