Adding basic serial tests and database queries.