Added test category to database tests. Changed interface exports to make it compile on appveyor