added tests for form save on assets and fixed breaking upload