Fixed formatting, cleaned up tests, updated minified file