Fixed tests, indentation and made the new amDateFormat filter declaration minification safe