Cleaned up formatting.
Added tests for constants.
Removed unused require.