Add tests for user signup and cleaner flash HTML