moved main() and effectsDemo() to a test file.