added schema.sql and new unit test