added database cleaner, updated post study feature with more robust testing.