more tests. added environment-specific databases. some styling.