added env vars, diff db for testing, grunt task for tests