Fix syntax error.
Add environment flag.
Hard-code environment to test.
Change task registration function signature.
Set environment to development if anything but "development" or "test"
is specified.
Fix logical error.
Merge branch 'test-server'